<?php
class Zend_View_Helper_ArticleUrl extends Zend_View_Helper_Abstract
{
	public function articleUrl($id)
	{
        /*$FinalAlias = "";
        $Depth = 1;
        $tableCategories = new Category();
        
        
        $Category = $tableCategories->get($id);
        $FinalAlias .= $Category['Alias'];
        
        
        while ($Category['parent_id'])
        {
          $Depth++;  
          $Category = $tableCategories->get($Category['parent_id']);
          $FinalAlias = $Category['Alias'] . "/" . $FinalAlias;
        }
        */
        return $this->view->baseUrl('article/' . $id);
	}
}